import React, { Component } from 'react';
import { View,NavigatorIOS,Text } from 'react-native';
import FirstPage from './components/FirstPage'
import { observable } from 'mobx';

export default class App extends Component {
  render() {
    return (
      <NavigatorIOS
      initialRoute={{
          component: FirstPage,    // 要跳转的页面
          title:'首页'    // 跳转页面导航栏标题
      }}
      style={{flex:1}}  // 此项不设置,创建的导航控制器只能看见导航条而看不到界面
      />
    );
  }
}
